package com.crm.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.crm.domain.ClueProcess;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ClueProcessMapper extends BaseMapper<ClueProcess> {





    //通过电话号+名字来保证唯一性，然后查询出对应的客户数据
    @Select("select * from clue_process where phone=#{phone} and name=#{name}")
    ClueProcess select(String photo, String name);
}
